import { request } from "@/utils/service"

export interface PayMethod {
    id: number
    type: string
    param: string
    extra: string
    status: number
  }
  

  export const add = (form: PayMethod) => {
    return request({
      url: "admin/pay_method/add",
      method: "POST",
      data: { form }
    })
  }